package com.mtjx.web;

import com.mtjx.entitys.dto.LoginDTO;
import com.mtjx.resp.VfResult;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiResponse;
import io.swagger.annotations.ApiResponses;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 33117
 * @version 1.0
 * @data 2025/8/20 9:02
 */
@RestController
@RequestMapping("api/user")
public interface IUserWeb {

    /**
     * 查询用户信息
     *
     * @param loginDTO
     * @return
     */
    @ApiOperation(value = "查询用户信息", notes = "查询用户信息", produces = "application/json")
    @ApiResponses({@ApiResponse(code = 200, message = "查询用户信息成功")})
    @RequestMapping(value = "/list", method = RequestMethod.POST)
    VfResult list(@RequestBody LoginDTO loginDTO);
}
